﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<TravelGenerator.WebApplication.Models.AssetTypeListModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    SelectType
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        SelectType</h2>
    <table>
        <tr>
            <th>
                Name
            </th>
            <th>
                Description
            </th>
        </tr>
        <% foreach (var item in Model.AssetTypes)
           { %>
        <tr id="row-<%: item.AssetTypeID %>">
            <td>
                <%: Html.Label(item.Name)%>
            </td>
            <td>
                <%: Html.Label(item.Description)%>
            </td>
        </tr>
        <% } %>
    </table>
</asp:Content>
